<?php
/**

 //  The DoYouHaoBaby PHP FrameWork - home
 //  +---------------------------------------------------------------------
 //
 //  “Copyright”
 //  +---------------------------------------------------------------------
 //  | (C) 2010 - 2099 http://doyouhaobaby.net All rights reserved.
 //  | This is not a free software,use is subject to license terms
 //  +---------------------------------------------------------------------
 //
 //  “About This File”
 //  +---------------------------------------------------------------------
 //  | home Index控制器
 //  +---------------------------------------------------------------------

*/

!defined('DYHB_PATH') && exit;

class IndexController extends Controller{

	/**
	 * 首页 < 默认访问 >
	 *
	 * @access public
	 * @return void
	 */
	public function index(){
		Template::in(true);// 演示缓存保持到系统中
		$this->display(DYHB_PATH.'/Resource_/Template/AutoIndex/index_hello.html');
		Template::in(false);// 还原状态
	}

	/**
	 * PHP 探针
	 *
	 * @access public
	 * @return void
	 */
	public function check_probe(){
		include(DYHB_PATH.'/Resource_/Template/AutoIndex/Probe.inc.php');//载入探针文件
		return;
	}

}
